<?php
require_once('conn.php');

$query = mysql_query("update stockiest set
						nama = '".$_REQUEST['nama']."',
						kelompok = '".$_REQUEST['kelompok']."'
						where hp = '".$_REQUEST['hp']."'");
if($query){
	echo json_encode(array('success'=>true));
} else {
	echo json_encode(array('msg'=>"Error"));
}

?>